package com.distribute.rpc.sample.server;

import com.distribute.rpc.sample.client.HelloService;
import com.distribute.rpc.sample.client.Person;

public class HelloServiceImpl implements HelloService{

	public String hello(String name) {
		return "Hello! " + name;
	}

	public String hello(Person person) {
		return "Hello! " + person.getFirstName() + " " + person.getLastName();
	}

}
